/*
 * main.c
 *
 *  Created on: Mar 25, 2014
 *      Author: jack
 */
#include<stdio.h>

int main() {
	int arr[8] = { 1,2,3,4,5,6,7,8 };
	int brr[9] = { 1,2,3,4,5,6,7,8,9};
	int alen = 8,blen=9;
	binary_search(arr,alen,0);
	binary_search(brr,blen,2);
	return 0;
}

